package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 剂量预估对象 dose_value_estimated
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public class DoseValueEstimated extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id自增 */
    private Long id;

    /** 大修库id（唯一标识） */
    @Excel(name = "大修库id", readConverterExp = "唯=一标识")
    private Long overhaulLibraryId;

    /** 大修名称 */
    @Excel(name = "大修名称")
    private String overhaulName;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 每日指标剂量 */
    @Excel(name = "每日指标剂量")
    private BigDecimal dailyEstimatedDoseValue;

    /** 累计指标剂量 */
    @Excel(name = "累计指标剂量")
    private BigDecimal cumulativeEstimatedDoseValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOverhaulLibraryId(Long overhaulLibraryId) 
    {
        this.overhaulLibraryId = overhaulLibraryId;
    }

    public Long getOverhaulLibraryId() 
    {
        return overhaulLibraryId;
    }
    public void setOverhaulName(String overhaulName) 
    {
        this.overhaulName = overhaulName;
    }

    public String getOverhaulName() 
    {
        return overhaulName;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDailyEstimatedDoseValue(BigDecimal dailyEstimatedDoseValue) 
    {
        this.dailyEstimatedDoseValue = dailyEstimatedDoseValue;
    }

    public BigDecimal getDailyEstimatedDoseValue() 
    {
        return dailyEstimatedDoseValue;
    }
    public void setCumulativeEstimatedDoseValue(BigDecimal cumulativeEstimatedDoseValue) 
    {
        this.cumulativeEstimatedDoseValue = cumulativeEstimatedDoseValue;
    }

    public BigDecimal getCumulativeEstimatedDoseValue() 
    {
        return cumulativeEstimatedDoseValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("overhaulLibraryId", getOverhaulLibraryId())
            .append("overhaulName", getOverhaulName())
            .append("time", getTime())
            .append("dailyEstimatedDoseValue", getDailyEstimatedDoseValue())
            .append("cumulativeEstimatedDoseValue", getCumulativeEstimatedDoseValue())
            .toString();
    }
}
